<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>CKEditor Sample</title>
	<script src="ckeditor.js"></script>
	<script src="config.js"></script>
</head>
<body>
	<textarea name="" id="editor" cols="30" rows="10"></textarea>
	<script>

		window.onload = function()
	    {
	    	CKEDITOR.editorConfig = function( config ) {
			    config.height = 500;
			    config.width = 'auto';
			    config.extraPlugins = 'upload,autoformat,'+codeHighLight;
			    config.removeButtons = getCkeditorRemoveButtons();
			    config.codeSnippet_theme = 'monokai_sublime';
			    config.filebrowserBrowseUrl = filebrowserBrowseUrl;
			};
	        CKEDITOR.replace( 'editor' );
	        var editorElement = CKEDITOR.document.getById( 'editor' );
			editorElement.setHtml('Hello world!');
	    };
	    //hljs.initHighlightingOnLoad();
	</script>
</body>
</html>

